﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pg.BioMedics.SDR.Caching
{
    /// <summary>
    /// Application calss exception used for wrapping caching module errors.
    /// </summary>
    public sealed class CachingException : ApplicationException
    {
        #region Constructors

        internal CachingException()
            : base() { }

        internal CachingException(string message)
            : base(message) { }

        internal CachingException(string format, params object[] args)
            : base(String.Format(format, args)) { }

        internal CachingException(string message, Exception innerException)
            : base(message, innerException) { }

        internal CachingException(string format, Exception innerException, params object[] args)
            : base(String.Format(format, args), innerException) { }

        #endregion
    }
}
